#!/bin/bash

# 外层循环
for ((i=1; i<=5; i++))
do
    echo "外层循环：$i"

    # 内层循环
    for ((j=1; j<=3; j++))
    do
        echo "内层循环：$j"
    done
done